package com.shopping.service;

import com.shopping.bean.UserAddress;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserAddressService {
    int add(UserAddress address);
    int edit( UserAddress address);
    int delete( int id);
    UserAddress getAddressByID(int id);

    List<UserAddress> getAddressByUserID( int id);

    int setDefault(int userid, int id);
}
